

package PractikasDelSalonn;


public class ejersicio2 {


    public static void main(String[] args) {
        String x="555";
     int a= Integer.parseInt(x);
   Double b=new Double(a);
     Byte c=new Byte(b.byteValue());
     Float d=new Float(c.floatValue());
     Integer e=new Integer(d.intValue());
     Short f=new Short(e.shortValue());
     Long g= new Long(f.longValue());

        System.out.println("int"+a);
        System.out.println("double"+b);
        System.out.println("Byte"+c);
        System.out.println("Float"+d);
        System.out.println("Integer"+e);
        System.out.println("Short"+f);
        System.out.println("Long"+g);
         boolean h=Boolean.parseBoolean(g.toString());
         System.out.println("Boolean"+h);
    }

}

